package com.zhl.study.service;

import java.io.InputStream;
import java.io.OutputStream;

/**
 * @description 处理网络请求的handler
 * @Author: z156940l@outlook.com
 * @className RequestHandler
 * @Date: 2024/5/20 10:03
 */
public interface RequestHandler {

    /**
     * 请求
     * @param recive
     * @param toResp
     */
    void onRequest(InputStream recive, OutputStream toResp);
}
